package com.molin.ArrayTest;

public class Demo3Array {
    public static void main(String[] args) {
        String[] arr=new String[3];
        arr[0]="不错的工作";
        arr[1]="当官的兄弟";
        arr[2]="漂亮的老婆";
        for (String i : arr){
            System.out.println(i);
        }
        System.out.println("======================");
        for (int i=0;i<arr.length;i++){
            System.out.println(arr[i]);
        }
    }
}
